package com.share.order.api.domain;

import com.share.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @return 13141
 * 2025/10/17
 * 16:47
 */
@Data
@Schema(description = "订单账单")
public class OrderBill extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Id
    @Schema(description = "账单id")
    private Long id;

    @Schema(description = "订单id")
    private Long orderId;

    @Schema(description = "账单项明细")
    private String billItem;

    @Schema(description = "账单金额")
    private BigDecimal billAmount;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "更新人")
    private String updateBy;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @Schema(description = "备注")
    private String remark;

}
